<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>相对定位</title>
	<style>
		.father{
			width: 400px;
			height: 400px;
			background: red url() 0 0 no-repeat;
			margin-top: 50px;
		}
		.son{
			width: 200px;
			height: 200px;
			background: blue url() 0 0 no-repeat;
			position: relative;
			top: 0px;
			left: 0px;
		}
		.son1{
			width: 200px;
			height: 200px;
			background: green url() 0 0 no-repeat;
		}

	</style>
</head>
<body>
	<div class="father">
		<div class="son">
			
		</div>
		<div class="son1">
			
		</div>
	</div>
</body>
</html>